package server.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import server.model.entity.Apply;
import server.model.entity.UserDeposit;
import server.model.entity.Users;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 创建人:    xvzhe
 * 创建时间:
 * 修改时间:
 * 版本:      v1.0
 */
@Data
public class ApplyDto {
    private String id;

    private Users users;

    private Apply.Type type;

    private BigDecimal money;

    private BigDecimal fastMoney;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifiedTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private UserDeposit userDeposit;
}
